package com.yanqu.road.entity.log.travelBook;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

/**
 * @Author : Cxp
 * @Time : 2024-12-10
 * @Description : 旅行册卡册升级日志
 */

@FieldTypeAnnotation(tableName = "t_l_travel_book_upgrade_album", desc = "旅行册卡册升级日志", autoSave = true, uploadCk = true)
public class LogTravelBookUpgradeAlbum extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "卡册ID")
    private int albumId;

    @FieldTypeAnnotation(desc = "操作前等级")
    private int lvBefore;

    @FieldTypeAnnotation(desc = "操作后等级")
    private int lvAfter;

    @FieldTypeAnnotation(desc = "升级时间")
    private long upgradeTime;

    public LogTravelBookUpgradeAlbum(long userId, int albumId, int lvBefore, int lvAfter, long upgradeTime) {
        this.userId = userId;
        this.albumId = albumId;
        this.lvBefore = lvBefore;
        this.lvAfter = lvAfter;
        this.upgradeTime = upgradeTime;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getAlbumId() {
        return albumId;
    }

    public void setAlbumId(int albumId) {
        this.albumId = albumId;
    }

    public int getLvBefore() {
        return lvBefore;
    }

    public void setLvBefore(int lvBefore) {
        this.lvBefore = lvBefore;
    }

    public int getLvAfter() {
        return lvAfter;
    }

    public void setLvAfter(int lvAfter) {
        this.lvAfter = lvAfter;
    }

    public long getUpgradeTime() {
        return upgradeTime;
    }

    public void setUpgradeTime(long upgradeTime) {
        this.upgradeTime = upgradeTime;
    }
}
